#ifndef RTSH_H
#define RTSH_H

#include <sys/types.h>
#include <sys/queue.h>

#include <err.h>
#include <errno.h>
#include <histedit.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

#include <iostream>
#include <string>

#define EDITOR "emacs"

using namespace std;

namespace rtsh {
   class rtsh {
      public:
         rtsh (const char *, const char *);
         rtsh (const rtsh &);
         rtsh &operator= (const rtsh &);
         ~rtsh ();

         void console ();

      private:
         EditLine *__edit;
         History *__hist;
         HistEvent __histevent;

         int __MaxHistory;
         string *__Editor;
   };

}

#endif


